package ch06;

import org.springframework.stereotype.Repository;

@Repository
public class PersonDao {
    public int save(Person person) {
        System.out.println("保存用户");
        int i = 10 / 0 ;
        return  1 ;
    }

    public void del(int id){
        System.out.println("删除用户");
    }
}
